﻿using ZYCommon;
using System;

namespace TextEditor
{
    

    public class A_RegisteUser : A_Action
    {
        public override string ActionName()
        {
            return "registeuser";
        }

        public override bool Execute()
        {
            base.myOwnerDocument.SaveLogs.CurrentUserName = base.Param1;
            return true;
        }

        public override bool UIExecute()
        {
            //string strData = dlgInputBox.InputBox("请输入用户名", "用户登录", "");
            //if (!StringCommon.isBlankString(strData))
            //{
            //    base.myOwnerDocument.SaveLogs.CurrentUserName = strData;
            //}
            return true;
        }
    }
}

